﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AAA.Meta.Quote.Data;
using AAA.Meta.Quote;

namespace AAA.Quote
{
    public interface IRealtimeQuote
    {
        TickDataHandler TickDataReceiveEvent {get; set;}
        TrustDataHandler TrustDataReceiveEvent { get; set; }
        int QuotePeriod { get; set; }
        bool IsStarted { get; set; }
        bool StartQuote();
        bool StopQuote();
        void OnDataReceive(TickData tickData);
        void OnTrustDataReceive(TrustData trustData);
        string Request(string strItem);
        void AddWatchSymbol(string strSymbolId);
        void RemoveWatchSymbol(string strSymbolId);
        List<string> GetWatchList();
    }
}
